package net.osweb.crm.web.base.action;

import net.osweb.core.fw.action.BaseAction;



/**
 * @author hgg
 * 博文工程基础Action
 */
public class CrmOsBaseAction extends BaseAction {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7026631621586814392L;

	protected Long getLoginUserId() {
		//FIXME:未实现
		//Long loginUserId = (Long)getSession().getAttribute(Constants.SESSION_LOGIN_USER_KEY);
		return 1L;
	}
	
	protected String getClientIp(){
		return getRequest().getRemoteAddr();
	}
	
	protected String getClientExpoler(){
	   return getRequest().getHeader("user-agent");
	}

}
